package com.zenithmind.note.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 笔记分享视图对象
 */
@Data
@Schema(name = "笔记分享视图", description = "笔记分享视图")
public class NoteShareVO {
    
    @Schema(description = "分享ID")
    private String id;
    
    @Schema(description = "笔记ID")
    private String noteId;
    
    @Schema(description = "笔记标题")
    private String noteTitle;
    
    @Schema(description = "分享用户ID")
    private String userId;
    
    @Schema(description = "分享用户名称")
    private String userName;
    
    @Schema(description = "分享类型：0-链接分享，1-朋友圈，2-微信好友，3-QQ，4-微博等")
    private Integer shareType;
    
    @Schema(description = "分享码")
    private String shareCode;
    
    @Schema(description = "分享链接")
    private String shareUrl;
    
    @Schema(description = "被查看次数")
    private Integer shareCount;
    
    @Schema(description = "状态：0-失效，1-有效")
    private Integer status;
    
    @Schema(description = "过期时间")
    private LocalDateTime expireTime;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
} 